const mongoose = require('./connection')

const menuSchema = new mongoose.Schema({
    name:String,
    price:Number,
    imgpath:String,
    //规格
    specifications:String,
    //种类
    kind:String,
    //是否能买
    enable:Boolean
})
const menuModel = mongoose.model('menu',menuSchema,'menu')
module.exports = menuModel
